package com.iking.housekeeping.entity.dept;

import java.util.Date;

import org.hibernate.validator.constraints.NotBlank;

/**
 * 系统部门
 * @author 秦甫杰
 *
 */
public class SysDept {
	
	/**
	 * 部门id
	 */
	private String fId;
	
	/**
	 * 部门名称
	 */
	@NotBlank(message = "部门名称不能为空")
	private String fName;
	
	/**
	 * 部门编号
	 */
	private String fDeptCode;
	
	/**
	 * 父级部门编号
	 */
	private String fDeptPCode;
	
	private String fAdminUser;
	
	/**
	 * 是否已删除，0未删除1已删除
	 */
	private Boolean fIsDeleted;
	
	/**
	 * 创建时间
	 */
	private Date fGmtCreate;
	
	/**
	 * 更新时间
	 */
	private Date fGmtModified;
	
	/**
	 * 角色id
	 */
	private String roleId;
	
	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getfId() {
		return fId;
	}

	public void setfId(String fId) {
		this.fId = fId == null ? null : fId.trim();
	}

	public String getfName() {
		return fName;
	}

	public void setfName(String fName) {
		this.fName = fName == null ? null : fName.trim();
	}

	public String getfDeptCode() {
		return fDeptCode;
	}

	public void setfDeptCode(String fDeptCode) {
		this.fDeptCode = fDeptCode == null ? null : fDeptCode.trim();
	}

	public String getfDeptPCode() {
		return fDeptPCode;
	}

	public void setfDeptPCode(String fDeptPCode) {
		this.fDeptPCode = fDeptPCode == null ? null : fDeptPCode.trim();
	}

	public String getfAdminUser() {
		return fAdminUser;
	}

	public void setfAdminUser(String fAdminUser) {
		this.fAdminUser = fAdminUser == null ? null : fAdminUser.trim();
	}

	public Boolean getfIsDeleted() {
		return fIsDeleted;
	}

	public void setfIsDeleted(Boolean fIsDeleted) {
		this.fIsDeleted = fIsDeleted;
	}

	public Date getfGmtCreate() {
		return fGmtCreate;
	}

	public void setfGmtCreate(Date fGmtCreate) {
		this.fGmtCreate = fGmtCreate;
	}

	public Date getfGmtModified() {
		return fGmtModified;
	}

	public void setfGmtModified(Date fGmtModified) {
		this.fGmtModified = fGmtModified;
	}

	@Override
	public String toString() {
		return "SysDept [fId=" + fId + ", fName=" + fName + ", fDeptCode=" + fDeptCode + ", fDeptPCode=" + fDeptPCode
				+ ", fAdminUser=" + fAdminUser + ", fIsDeleted=" + fIsDeleted + ", fGmtCreate=" + fGmtCreate
				+ ", fGmtModified=" + fGmtModified + ", roleId=" + roleId + "]";
	}

	
}